class DB:
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SECRET_KEY = "fewifhewuifewiufew"


class Delve(DB):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:python@127.0.0.1:3306/luitan?charset=utf8"


class Prod(DB):
    DEBUG = False
    SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:python@127.0.0.1:3306/luitan?charset=utf8"

CONFIG = {
    "delve": Delve,
    "prod": Prod
}
